package com.imooc.dataobject.dao;

import com.imooc.dataobject.mapper.ProductCategoryMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

/**
 * ProductCategoryDao
 *
 * @author leon.cheng
 * @date 2018/11/28 14:14
 **/
public class ProductCategoryDao {
    @Autowired
    ProductCategoryMapper mapper;

    public int insertByMap(Map<String,Object> map)
    {
        return mapper.insertByMap(map);
    }
}
